package com.wu.company.entity;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class LoginUser extends User {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private PrpDuser prpdUser;
	


	public LoginUser(String username, String password, boolean enabled,
                     boolean accountNonExpired, boolean credentialsNonExpired,
                     boolean accountNonLocked,
                     Collection<? extends GrantedAuthority> authorities, PrpDuser prpdUser) {
		super(username, password, enabled, accountNonExpired, credentialsNonExpired,
				accountNonLocked, authorities);
		this.prpdUser = prpdUser;
	}

	public PrpDuser getPrpdUser() {
		return prpdUser;
	}



	
	


}
